﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Insert_Update_ExhibitionControl.ascx.cs" Inherits="Share_Insert_Update_ExhibitionControl" %>
 <%@ Register Assembly="jQueryDatePicker" Namespace="Westwind.Web.Controls" TagPrefix="ww" %>
<asp:Label ID="lb_Title" runat="server" Text=""></asp:Label>
<h1>Exhibition Name</h1> <asp:TextBox ID="txtExhibitionName" runat="server"></asp:TextBox>
 <asp:RequiredFieldValidator ID="rqrExhibitionName" runat="server" 
         ControlToValidate="txtExhibitionName" EnableTheming="True" 
         ErrorMessage="*Required!" ForeColor="Red" 
         ValidationGroup="1"></asp:RequiredFieldValidator>
<br />
<br />
<h1>Topic/Detail</h1> <asp:TextBox ID="txtTopic" runat="server"></asp:TextBox>
 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
         ControlToValidate="txtTopic" EnableTheming="True" 
         ErrorMessage="*Required!" ForeColor="Red" 
         ValidationGroup="1"></asp:RequiredFieldValidator>
<br />
<br />
<h1>Start Date </h1> <ww:jQueryDatePicker runat="server"
                id="txtStartDate" DisplayMode="AutoPopup" DateFormat="MM/dd/yyyy"  ></ww:jQueryDatePicker>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
         ControlToValidate="txtStartDate" EnableTheming="True" 
         ErrorMessage="*Required!" ForeColor="Red" 
         ValidationGroup="1"></asp:RequiredFieldValidator>
          <br />      <br />
<h1>End Date </h1> <ww:jQueryDatePicker runat="server"
                id="txtEndDate" DisplayMode="AutoPopup" DateFormat="MM/dd/yyyy"  ></ww:jQueryDatePicker>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
         ControlToValidate="txtEndDate" EnableTheming="True" 
         ErrorMessage="*Required!" ForeColor="Red" 
         ValidationGroup="1"></asp:RequiredFieldValidator>
<br /><br />
<h1>Place</h1> <asp:TextBox ID="txtPlace" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
         ControlToValidate="txtPlace" EnableTheming="True" 
         ErrorMessage="*Required!" ForeColor="Red" 
         ValidationGroup="1"></asp:RequiredFieldValidator>
<br /><br />
<h1>Organizer</h1> <asp:TextBox ID="txtOrgannizer" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
         ControlToValidate="txtOrgannizer" EnableTheming="True" 
         ErrorMessage="*Required!" ForeColor="Red" 
         ValidationGroup="1"></asp:RequiredFieldValidator>
<br /><br />
<asp:Label ID="lblResult" runat="server"></asp:Label>
<br />
<div class="float_left">
<asp:Panel ID="pn_Update" runat="server">
 
</asp:Panel>
</div>
<div>
   <asp:Button ID="btn_Update" runat="server" Text="Update" 
        onclick="btn_Update_Click" ValidationGroup="1" /> 
           <asp:Button ID="btn_Reset" runat="server" Text="Reset" 
    onclick="btn_Reset_Click" />
<asp:Button ID="btn_Cancel" runat="server" Text="Cancel" 
    onclick="btn_Cancel_Click" />
    </div>
    <div class="float_left">
        <asp:Panel ID="pn_Insert" runat="server">
            <asp:Button ID="btn_Insert" runat="server" Text="Insert" 
        onclick="btn_Insert_Click" ValidationGroup="1" />    
        </asp:Panel>
</div>
<div class="cleaner"></div>
<br />
<hr />
<br />
